package com.rock.app.base;

public class OpenConsts {
 
    /** 小程序端向后端传递的appCode字符串，APP应用标识-单体小程序 */
    public static final String APP_CODE_HEADER = "AppCode";
    /** 小程序端向后端传递的appCode字符串，APP应用标识-三方托管小程序 */
    public static final String CHANNEL_APP_ID = "ChannelAppId";
    
    /** 标识本次登录的app */
    public static final String ATTR_LOGINED_APP = "logined_app";
    /** 标识本次登录的app渠道 */
    public static final String ATTR_LOGINED_APP_RELEASE = "logined_app_release";
    

    /**
     * 用到的request attribute常量
     */
    public static final String ATTR_LOGINED_USER = "USER";
    public static final String OPTION_API_ENABLE = "openapi_enable"; //是否启用API
    public static final String OPTION_API_SECRET = "openapi_secret"; //API密钥
    public static final String OPTION_API_APPID = "openapi_appid"; //API应用ID
    
    public static final String JWT_USERID = "userId";
    
    /** 业务数据库名称，与jboot.properties中相对应 */
//    public static final String DB_BIZ = "rbiz";
    /** 开发平台数据库名称，与jboot.properties中相对应 */
//    public static final String DB_SYS = "rsys";
    
}
